<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    let girlName = "裘千尺"

    function hr(callBack) {
        setTimeout(() => {
            girlName = "黄蓉"
            console.log('我是黄蓉');
            callBack()
        }, 0);
    }

    function gj() {
        console.log(`${girlName}你好，我是郭靖，认识一下吧`);
    }
    hr(gj)
</script>
</body>
</html>